Large-herbivore nemabiomes: patterns of parasite diversity and sharing

Amidst global shifts in the distribution and abundance of wildlife and livestock, we have only a rudimentary understanding of ungulate parasite communities and parasite-sharing patterns. We used qPCR and DNA metabarcoding of fecal samples to characterize gastrointestinal nematode (Strongylida) community composition and sharing among 17 sympatric species of wild and domestic large mammalian herbivore in central Kenya. We tested a suite of hypothesis-driven predictions about the role of host traits and phylogenetic relatedness in describing parasite infections. Host species identity explained 27–53% of individual variation in parasite prevalence, richness, community composition and phylogenetic diversity. Host and parasite phylogenies were congruent, host gut morphology predicted parasite community composition and prevalence, and hosts with low evolutionary distinctiveness were centrally positioned in the parasite-sharing network. We found no evidence that host body size, social-group size or feeding height were correlated with parasite composition. Our results highlight the interwoven evolutionary and ecological histories of large herbivores and their gastrointestinal nematodes and suggest that host identity, phylogeny and gut architecture—a phylogenetically conserved trait related to parasite habitat—are the overriding influences on parasite communities. These findings have implications for wildlife management and conservation as wild herbivores are increasingly replaced by livestock.


Introduction
Parasites account for a large fraction of animal diversity and are key constituents of food webs [1]. They are also pivotal in determining the health, fitness, population dynamics, and community composition of their hosts [2]. Nonetheless, our understanding of parasite diversity remains limited. Owing largely to logistical constraints, many studies focus on single-host/single-parasite interactions, yet most parasites are capable of infecting multiple hosts [3] and most host individuals are infected by diverse parasite assemblages [4]. The relatively few studies of multi-host/multi-parasite networks have revealed fresh insights into parasite transmission and host-parasite coevolution [5], prompting calls for more research on multi-parasitism and consideration of how host biology and environmental factors structure parasite communities [6,7]. These needs are acute given human-induced global changes in host species distributions [8,9] and biodiversity [10]. Particularly important, in terms of both ecological dynamics and human livelihoods, is to understand drivers of cross-species parasite transmission in a world where wildlife are increasingly overlapping with people and their livestock [11].
Historically, sampling limitations have impeded community-level multi-host/multi-parasite analyses. Gastrointestinal nematodes parasitize many different large mammalian herbivore species, yet accurate taxonomic identificationsnecessary to quantify diversity and identify host-sharing networks-typically requires retrieving adult specimens from dead hosts or culturing larvae. Moreover, while several databases document host-species-parasite relationships [12,13], data are aggregated over many times and places, obscuring host-parasite sharing patterns among co-occurring individuals. Molecular methods offer a potentially powerful solution to this problem by enabling cheap and efficient sample screening to characterize parasite communities [14,15]. DNA metabarcoding, which involves amplifying and sequencing a short, taxonomically informative genetic region from DNA mixtures (e.g. faeces), is increasingly used in disease ecology [16]. Although applications in parasitology remain nascent [17], they have potential to address questions about multi-parasitism [14,16].
For diverse large-herbivore assemblages, such as those found in African savannahs, such approaches could address knowledge gaps about patterns and determinants of parasite prevalence, diversity and sharing in locations where wild and domestic hosts overlap [18]. Several studies have suggested that parasite richness and community composition are similar among individuals of the same or phylogenetically similar host species [19,20], reflecting the role of host phylogeny in preserving deep coevolutionary linkages between parasites and hosts [21,22] and illuminating the extent to which parasites might switch between and successfully propagate in closely related hosts. However, predictors of parasite richness and composition other than host identity are challenging to disentangle [23,24], due in part to the difficulty of identifying parasites using non-invasive sampling, which is essential for threatened species. Parasite phylogenetic diversity has rarely been investigated, but it has been hypothesized that closely related parasite species occupy similar ecological niches, exhibiting phylogenetic niche conservatism [25]; accordingly, host species with high parasite richness may not necessarily have high parasite phylogenetic diversity, and vice versa.
Three host-specific predictors are often proposed as correlates of parasite species richness across systems and species: body size (and thus parasite habitat size and opportunity to accumulate in large-bodied, long-lived hosts), geographical range size (and thus interspecific transmission opportunities and range of environmental conditions), and population density (and thus intraspecific transmission opportunities) [4,26]. A recent meta-analysis [24] showed that these factors tend to correlate positively with parasite species richness, but that relationships vary depending on whether analyses focus on individuals, populations or species. At the individual level, social-group size may also correlate with parasite richness, as it represents fine-scale intraspecific transmission opportunities [27]. Surprisingly, although transmission in many ungulates occurs via feeding, and many gastrointestinal parasites occupy specific niches within the digestive tract [28], herbivore feeding strategy and digestive strategy are less commonly tested as predictors of parasite community structure; previous work suggests that these factors are related to parasite prevalence and intensity in herbivores [18], and dietary preferences have been linked to parasite composition in other taxa such as birds and fish [29,30].
Because sympatric herbivores share many of the same food and water resources that serve as transmission routes for gastrointestinal parasites [31], studies have constructed parasitesharing networks (hosts connected to other hosts via shared parasites) using literature records or morphological identifications [18,32]. Such networks are useful because nodespecific metrics can be used to identify hosts that are central in various ways, such as (a) those having many links to other species via their parasites (high degree); (b) those sharing parasites with many other hosts (high closeness centrality); (c) those sharing parasites with distinct groups, acting as bridges (high betweenness centrality); and (d) those sharing parasites with other well-connected hosts, thereby occupying core positions (high eigenvector centrality). Central hosts may be likely to affect transmission dynamics for many other species. Likewise, bipartite host-parasite networks can illuminate potential parasite coextinctions when host species are lost, which should be greatest for hosts with many unique parasite links [33].
We used DNA metabarcoding of the ITS-2 region to analyse gastrointestinal nematode DNA (Strongylida) in fecal samples from a diverse community of wild and domestic large herbivores (greater than or equal to 5 kg) in an East African rangeland. Strongylida are among the most common metazoan parasite groups in large herbivores and infect various parts of the digestive tract, including the stomach and intestines. While taxonomic reference data for nematodes remain limited, DNA metabarcoding enables comparative analysis of diversity and composition by clustering sequences by similarity even when taxonomic names are lacking, as has been validated for both parasitic and free-living nematodes [34,35] (see also [36,37]). We addressed three questions about the diversity, composition and sharing patterns of Strongylid (henceforth 'parasite') communities in this diverse assemblage.
First, to what extent can host characteristics predict total parasite prevalence (i.e. proportion of hosts infected by at least 1 molecular operational taxonomic unit (mOTU)), richness and phylogenetic diversity? We hypothesized that, in addition to strong effects of host species identity on parasite assemblages [19], hosts that feed on understorey plants would have higher parasite richness and prevalence than overstorey feeders, because the former are more likely to consume infective parasite larvae and eggs [32,38]. Because foregut fermenters (here, 12 ruminants and 2 pseudoruminants) have more complex guts that may provide a wider range of parasite niches [28], we predicted that parasite diversity would be higher in those species compared to hindgut fermenters. We likewise hypothesized that after accounting for host relatedness, total prevalence, richness, and phylogenetic diversity would increase with host body size (which is correlated with home-range size) and social-group size. Second, which factors explain dissimilarities in parasite community composition among herbivores? We expected that the same host traits predicted to influence parasite prevalence and diversity would structure community composition, with strong effects of host species identity, and that host and parasite phylogenies would be congruent, consistent with host-parasite coevolution [22]. Third, to what extent are parasite mOTUs shared among hosts, and which host species play key roles in a parasite-sharing network? We expected host-parasite linkages to have an aggregated distribution (i.e. that most parasites royalsocietypublishing.org/journal/rspb Proc. R. Soc. B 289: 20212702 specialize on only one or two host species and few generalize across many different hosts, as is typical in host-parasite networks [39]). We further expected that a host-host network (with host species connected by shared parasites) would link closely related hosts, including both domestic and wild species, and that network centrality would increase with decreasing evolutionary distinctiveness [40].
(a) DNA sequencing and data processing Detailed DNA extraction, qPCR, PCR and metabarcoding, and bioinformatic methods are in Appendix I; we provide a summary below. Prevalence was assessed using qPCR on 550 fecal samples; community metrics were assessed on 281 of these samples that contained strongylid DNA. Samples were collected during six sampling bouts over five years (2013-2017), including a substantial subset of those analysed for plant and bacterial DNA in [43] and a set of zebra samples analysed in [35]. Samples were broadly dispersed and interspersed in space and time [43]; individual identities are unknown, but the spatio-temporal breadth and low ratio of sample sizes to species' abundances [44] means that duplicate samples from a given individual are highly unlikely. These samples represent 20 large-herbivore species (electronic supplementary material, Appendix I: table S1), which together account for approximately 95% of individuals in the community [44], span orders of magnitude in body mass (5-5000 kg), and differ in digestive system (foregut/hindgut fermentation), diet (1%-97% grass [45]), social behaviour (solitary/gregarious), evolutionary history (3 orders, 7 families, 15 wild and 5 domesticated species) and conservation status (2 endangered, 2 vulnerable, 2 near threatened, 9 least concern [46]). Among domesticated species, sheep and goats are regularly treated with anthelminthics (albendazole, Endotape), cattle are treated at weaning and occasionally thereafter, and camels and donkeys are not routinely treated (D. Hewett, Mpala Ranch manager, 2021, personal communication).
We performed duplicate qPCR on all 550 DNA extracts to detect Strongylida DNA (NC1/NC2 primers for ITS-2 gene; [47]). As a sensitivity check, we compared qPCR results to fecal egg counts for 37 impala and warthog samples sequenced in this run; we detected eggs in 35/37 qPCR-positive samples, and cycle threshold (C t ) values were correlated with egg-counts (ρ = −0.51, p = 0.001). Samples with mean C t less than 35 were considered positive for parasite DNA; this threshold corresponded to approximately 20 eggs per gram and fell below the detection threshold of the Modified McMaster technique (40-50 eggs per gram) [48]. We focused sequencing effort on a subset of qPCRpositive samples (n = 323), which we re-amplified using dualindexed primers, multiplexed, purified and sequenced together with 502 samples from another study along with positive, negative and extraction controls (Illumina MiSeq: 2 × 300 bp, 24 M reads).
Sequences were demultiplexed, filtered and clustered into mOTUs at both 98% and 99% similarity (using OBITools [49]). We used the nemabiome database (https://www.nemabiome. ca/) [50] for taxonomic assignments. Inferences about diversity and network structure may be sensitive to the threshold used to cluster mOTUs; we present results from the 98% similarity threshold in the main text [35], but results were qualitatively similar using the 99% threshold (electronic supplementary material, Appendix II). We filtered the sample-by-mOTU table to account for any low-abundance reads in negative controls (microDecon package [51]), dropped samples with fewer than 1000 reads, excluded mOTUs with less than 2% relative read abundance (RRA) per sample, and rarefied to 748 reads, the minimum number in any sample (validation of this approach is in electronic supplementary material, appendix I; see also [52]). We excluded one sample that was probably erroneously identified and one that lacked metadata (electronic supplementary material, appendix I). All sheep, all goat and the two waterbuck samples were qPCR-negative and were excluded from subsequent analyses. Anthelminthic treatment in cattle probably altered their parasite communities, so we excluded them from analyses of species' traits on parasite patterns but retained them in all other analyses.
(i) Parasite mOTU prevalence, richness and phylogenetic diversity We determined parasite richness by summing the number of mOTUs detected in each sample. We calculated Faith's phylogenetic diversity (PD) with the pd function in picante [54], using a phylogenetic tree of parasite mOTUs generated from metabarcoding data (electronic supplementary material, figure S10). Because taxonomic richness correlates with phylogenetic diversity, we also calculated standardized PD (sesPD) to determine if phylogenetic diversity in certain samples differed from expectations while controlling for mOTU richness. To avoid biases [55], we excluded the root of the phylogeny, resulting in exclusion of 12 samples with one parasite mOTU (n = 245 for PD and sesPD analyses after also omitting cattle).
We used two sets of models to analyse the effects of host species identity, traits and phylogeny on prevalence, richness and phylogenetic diversity. First, we used GLMs (with Binomial, Poisson and Gaussian error structures for prevalence, richness and phylogenetic diversity, respectively) to determine the proportion of variance described by host species identity. Second, we tested whether log-transformed body mass, proportion of understorey vegetation in the diet (for each sample), and digestion type (foregut/hindgut) predicted parasite prevalence, richness and phylogenetic diversity using GLMMs (MCMCglmm [8]) with random effects for host species and sampling bout. We ran models with and without controlling for host phylogeny [56]. We did not include range size because it was highly correlated with body mass (ρ = 0.89, p < 0.001).
We used body size measurements from PanTHERIA [57]. Group sizes and home range sizes were obtained from publications from our study site whenever possible, or otherwise from PanTHERIA or by using averages from a literature search (details in electronic supplementary material, table S2). To calculate understorey diet proportion for each sample, we summed the RRA of plant mOTUs less than 2 m tall for individual fecal samples based on diet data in [43] and local plant-height data [42]; for 60 samples not present in the diet dataset, we used the host's species-wide mean.

(ii) Host characteristics and parasite community composition
To visualize patterns of parasite community composition among host species, we ordinated Bray-Curtis dissimilarities calculated from the sample-by-mOTU matrix using non-metric multidimensional scaling (NMDS; k = 3 dimensions) in vegan [58]. We compared parasite community composition among host species using perMANOVA (adonis2 function). To evaluate temporal variation, we analysed the effect of sampling period for a subset of six broadly sampled species (n ≥ 5 samples for at least 2 periods), first by comparing period and host identity when considering all species together and then by testing the effect of period for each species. To account for phylogenetic royalsocietypublishing.org/journal/rspb Proc. R. Soc. B 289: 20212702 similarity among mOTUs, we repeated analyses using weighted UniFrac distances [59] of the same 281 samples, including cattle ( phyloseq [60]).
To investigate drivers of taxonomic and phylogenetic parasite community composition, we created a host species-by-mOTU matrix (n = 16 hosts, excluding cattle). We calculated Bray-Curtis dissimilarity and UniFrac distance matrices and used perMANOVA to test the effects of log-transformed body size, group size, understorey foraging and digestive strategy.
We performed a Procrustes cophylogenetic analysis [61] using paco [62]. We calculated a goodness-of-fit statistic (m 2 XY ) for the data and 1000 random permutations to assess whether observed links between hosts and parasites showed greater phylogenetic congruence (cophylogeny) than expected by chance.

(iii) Parasite sharing and host centrality
We built a bipartite species-level network for host species (n = 16, including cattle but excluding kudu, for which only three samples had metabarcoding data; electronic supplementary material, table S1). Because parasite-sharing networks may be sensitive to lowabundance links (e.g. arising from consumption and passage of eggs and larvae that do not infect the host), we excluded associations when mean RRA across individuals of a species for a given mOTU was less than 2% (see electronic supplementary material, figure S2 and appendix III for sensitivity analyses of RRA thresholds). To investigate the distribution of parasite host breadth (i.e. the number of host species infected by each parasite mOTU), we compared Akaike's information criterion (AIC) for increasingly aggregated (right-skewed) distributions fitted to the data by maximum-likelihood ( fitdistrplus [63]). Aggregated distributions indicate many specialists and few generalists.
We projected the network to a unipartite host species network, weighting edges using the sum product of RRA values for shared mOTUs. We calculated degree, closeness, eigenvector, and betweenness centralities for host species using igraph [64]. We fitted phylogenetic generalized least-squares models (PGLS) (caper [65]) of host node metrics using log-transformed body mass, social-group size, understorey diet, digestive strategy and evolutionary distinctiveness (evol.distinct in picante [54] using the 'fair proportions' method [66]) as predictors.

Results
(a) Influence of host identity and traits on parasite prevalence and diversity We detected 80 parasite mOTUs across 281 sequenced and filtered samples (mean = 15 868 reads per sample). Total prevalence and mean richness were positively correlated (ρ = 0.75, p = 0.0005; electronic supplementary material, table S1). Host species identity accounted for 27% of variance in total prevalence (n = 519, x 2 16 ¼ 92:94, p < 0.001) and 48% of variation in mOTU richness (n = 281, x 2 16 ¼ 164:29, p < 0.001). Oryx, elephant, Grevy's and plains zebras, and Grant's gazelle had high total prevalence (all greater than or equal to 0.90) and mean richness (all greater than or equal to 8.44), while kudu, buffalo, cattle, warthog and hippo had relatively low prevalence and richness (electronic supplementary material, table S1 and figure S4). Parasite phylogenetic diversity also differed significantly among host species (PD: R 2 = 0.21, x 2 16 ¼ 67:70, p < 0.001; sesPD: R 2 = 0.42, x 2 16 ¼ 181:57, p < 0.001). Cattle and warthog had low prevalence and richness but higher PD after controlling for richness (sesPD); giraffe had high richness and PD. At the other end of the spectrum, plains and Grevy's zebras had higher richness but lower sesPD (figure 1; electronic supplementary material, table S1 and figure S4).  figure S5); † denotes that camel and hippo are foregut-fermenting pseudoruminants, and are distinct from other foregut fermenters (all true ruminants). Total prevalence trended higher and standardized PD (sesPD) trended lower in hindgut fermenters compared to foregut fermenters, although these effects were not statistically significant after controlling for phylogenetic relatedness (electronic supplementary material, Although total prevalence and richness trended higher in hindgut fermenters than foregut fermenters, no-host trait was significantly associated with prevalence or richness after accounting for phylogeny (figure 1; electronic supplementary material, table S4). Similarly, while parasite sesPD trended lower in hindgut fermenters, this association was non-significant after accounting for host phylogeny, and no other species-level characteristic explained significant variation in PD or sesPD (electronic supplementary material, table S4).
Parasite communities segregated based on host digestive type (figure 2; electronic supplementary material, table S5): foregut fermenters separated strongly from hindgut fermenters. Two foregut-fermenting pseudoruminants (hippo and camel) were outliers relative to true ruminants (figure 2). Broadly speaking, hindgut fermenters had higher mean RRA of Strongylidae, while foregut fermenters had higher RRA of Cooperiidae, Haemonchidae and Trichostrongylidae (electronic supplementary material, figure S8). While digestive strategy and taxonomic order (a proxy for phylogeny) are closely related and explained similar variance in parasite composition, we found that a model with both predictors had the greatest explanatory power (R 2 Digestion ¼ 0:21, R 2 Order ¼ 0:32, R 2 Order+Digestion = 0.43). Digestive strategy had an even stronger influence on UniFrac distances, which accounts for mOTU similarity (R 2 Digestion ¼ 0:54, R 2 Order ¼ 0:42, R 2 Order+Digestion = 0.58). This is visualized in figure 2c: hindgutfermenting species from multiple families cluster closely together. We found no evidence that body size, social-group size, or understorey foraging had significant effects on parasite

(c) Parasite host specificity and parasite-sharing patterns
In our network of host-parasite connections (filtered to mean RRA greater than 2% at the species level), parasite-host breadth was highly aggregated (right-skewed) and followed a lognormal distribution (electronic supplementary material, table S6), indicating many host specialists and few generalists, as predicted. Host breadth varied among parasite families (1-10, median 2), but 47% of mOTUs infected just one species and only 25% infected greater than 3 (electronic supplementary material, figure S7). The most generalized parasite (10 hosts) was identified (98% bootstrap identity score) as Cooperia fuelleborni, and was detected in all foregut fermenters except cattle and hartebeest. Network node metrics suggested that giraffe, eland and camel may be important species in the parasite-sharing network, as they exhibited relatively high centrality scores across metrics (figure 3c). Closeness and eigenvector centralities were higher in foregut fermenters after controlling for phylogenetic relatedness, and we found no evidence for patterns in network centrality associated with other host characteristics (electronic supplementary material, table S7). Evolutionary distinctiveness was not predictive of network centrality metrics in PGLS models because it correlated with phylogenetic signal. When considered separately, degree and closeness centrality metrics were negatively correlated with host evolutionary distinctiveness, and eigenvector centrality trended similarly (electronic supplementary material, figure S9). Bovids were highly interconnected, each sharing parasites with 8-14 other hosts ( figure 3a,b). Notably, cattle shared parasites with 8 other hosts, whereas elephant and warthog each shared just one mOTU with another species (figure 3a,b; electronic supplementary material, Appendix IV).

Discussion (a) Host relatedness and digestive strategy structure parasite communities
Our analysis revealed powerful signals of host species identity in determining parasite mOTU prevalence, richness and phylogenetic diversity, with strong evidence of host-parasite cophylogeny. This cophylogenetic signal is consistent with findings in similar host-parasite systems [20,22] and hostmicrobiome associations [43,68]. Zebras had high mOTU richness [18], and equids are known to be infected by a diverse array of 'small strongyles' [69]; indeed hindgut fermenters in general were highly parasitized by this family (Strongylidae). However, Grant's gazelle and elephant had comparable mOTU richness to zebras; we have no ready explanation for this finding, as these species are phylogenetically and ecologically disparate. Further research that incorporates information about host immunity and parasite natural history may provide more mechanistic insight. Host-parasite edges comprising greater than or equal to 2% mean RRA per host species are weighted by mean RRA. Nodes are plotted using the force-directed algorithm [67]. (b) Centrality metrics for host species, normalized to (0,1) and ordered from left to right by increasing combined centrality scores (sum of normalized metrics). (c) Weighted adjacency matrix from a unipartite projection of (a) shows the number of mOTUs shared between each pair of species; diagonal edge represents the number of mOTUs found with greater than or equal to 2% mean RRA per species (note that this differs from total mOTU richness in electronic supplementary material, table S1, which is filtered at the individual level, rather than species level). (Online version in colour.) royalsocietypublishing.org/journal/rspb Proc. R. Soc. B 289: 20212702 Consistent with previous work comparing ruminants and equids in Botswana [18], we found that parasite prevalence in hindgut-fermenting herbivores trended higher than foregut fermenters, although this difference was not significant after accounting for phylogenetic relatedness. Hindgut fermenters consume large quantities of vegetation to meet energy requirements and thus may have greater exposure to parasitic larvae, leading to higher infection probability. However, this interpretation should also apply to large versus small-bodied species, which also differ in total biomass consumption [70], yet we found no effect of body size on any response. Phylogeny and digestive strategy explained similar variation in standardized phylogenetic diversity: with the exception of warthog, nematodes of hindgut fermenters tended to have lower sesPD, which might stem from simpler gut architectures (fewer parasite niches) and/or cophylogenetic constraints on parasite diversification and persistence ( perissodactyls and proboscideans are less phylogenetically diverse than artiodactyls, and non-ruminants are a small and shrinking share of east African faunas [71]). Other internal factors (e.g. host immune responses) undoubtedly regulate the relative fitness of parasite taxa and shape diversity and cooccurrence patterns found here [72,73].
Although some previous studies have linked parasite richness with host body size [74], range size [26,75] and/ or social-group size [76], none of these traits predicted individual mOTU richness in our study. This is not unprecedented; other studies have failed to detect relationships between richness and body size [77], or group size [75]. These mixed results may be caused by variability in trait values across taxa and differing taxonomic and geographical scales. Population-specific estimates of range size, socialgroup size (including interspecific groups that feed together [32,78]) and body size may be needed to detect fine-scale effects of these factors on parasite communities. Although we do not have intraspecific host density estimates for all species in this assemblage, we doubt that this factor would explain our results: dik-dik are by far the densest species at Mpala (up to 100 per km 2 [42]) but had intermediate parasite prevalence and diversity values.
We found that cattle had comparatively high standardized phylogenetic diversity, despite lower parasite prevalence than other species. At our study site, cattle are treated with anthelminthics at weaning and irregularly thereafter, perhaps explaining why cattle had low parasite richness and were free of the most generalized mOTU ( putatively Cooperia fuelleborni). One hypothesis for the high phylogenetic diversity in cattle is that sporadic anthelminthic treatment may eliminate common and competitively dominant parasite taxa, enabling infection by a wider variety of competing taxa. Indeed, another study in Amboseli National Park, Kenya, found unexpectedly high parasite richness in livestock, despite likely treatment with anthelminthics [15]. Elsewhere, regular deworming significantly reduces parasite diversity [50], and regular treatment of sheep and goats at Mpala resulted in the complete absence of Strongylida DNA. Other domestic animals in the system (donkeys and camels) were not regularly treated for parasites and had at least 90% prevalence. Given that domestic species shared many parasites with wild ones and are regionally increasing in abundance [79], monitoring and managing cross-infections will be increasingly important for both wildlife conservation and livestock production.
The dissimilarity of parasite communities across host species and lineages and the significant results from our cophylogenetic analysis are consistent with a strong coevolutionary relationship between nematode parasites and their herbivore hosts. These results mirror previous studies, especially on parasites of rodents (e.g. [19,80]). While stratified and intensive sampling across periods may reveal finer within-species patterns of parasite community shifts, our results suggest that Strongylida community structure may be largely predictable from host species composition in African ungulate assemblages, and that the impacts of species losses or invasions might also be predictable.

(b) Parasite host specificity and parasite sharing patterns
Our finding that host-parasite links were highly aggregated aligns with previous studies showing that most parasites specialize on few hosts while only a few have broad host ranges [18,81]. Parasites with broad host ranges are especially important when considering potential for parasite sharing at the wildlife-livestock interface and for predicting missing links in host-parasite networks [18]. Indeed, we found that evolutionarily distinct species still shared some parasites with central species, and that camels and giraffe had high levels of parasite overlap with bovids (figure 3a,b; electronic supplementary material, figure S9), demonstrating the role of a few generalists in connecting the network. The high centrality of giraffe and camel-intriguing given that each is the only local member of its family and that both feed overwhelmingly in the overstorey-suggest that these species are infected by generalist parasites and may play an important role in cross-species transmission depending on their movement and density. One clear management implication is that regularly deworming camels, as done successfully for sheep and goats at our site, might help limit parasite transmission to wildlife (notably giraffe, a threatened species). The same is true for donkeys, which had the highest centrality of the three equids and are likely to share parasites with the endangered Grevy's zebra and near-threatened plains zebra.
Our finding of phylogenetic influence on network centrality metrics is consistent with the likelihood that closely related hosts share ecological, anatomical and immunological traits that shape host-parasite coevolution. Indeed, models based on herbivore parasite records [18] suggest that hostparasite cophylogeny facilitates prediction of parasite-sharing networks. Our results captured similar patterns noninvasively in a single study, showing that the composition of host assemblages can predict attributes of parasite assemblages, including potential patterns of parasite coextinction arising from loss of evolutionarily distinct species.

(c) Caveats
While the DNA barcode we sequenced can effectively distinguish parasitic nematode species across a wide range of hosts [50], it is likely that parasite species have different ITS-2 copy numbers per cell, different numbers of cells, and perhaps primer mismatches, which can affect amplification success and the accuracy of RRA as an indicator of the relative abundance of parasite species.
royalsocietypublishing.org/journal/rspb Proc. R. Soc. B 289: 20212702 Our raw data contained low-abundance mOTUs that generated a highly interconnected host-host sharing network, but filtered data using mean RRA greater than or equal to 2% per species were more concordant with prior studies [12,13]. While sequencing errors, tag jumps, and contamination can contribute to low-abundance mOTUs distributed across samples [82], recent work has stressed the challenge of mitigating such errors while retaining low-abundance mOTUs that are real and important components of ecological networks [83,84]. For gastrointestinal-parasite networks, lowabundance mOTUs could arise from excreted parasites that do not cause infection, or from 'satellite species' that produce rare low-intensity infections [85]. Further research combining parasitological work with DNA sequencing will help to optimize methods to enable reliable detection of satellite species and to enhance reference libraries (e.g. [15,86]).
We could not identify 48% of parasite mOTUs to species due to gaps in genetic resources for many wildlife parasites [17]. While these taxa are understudied compared to human and livestock parasites, they may be important for wildlife conservation [18]. Efforts to connect DNA sequences with the taxonomic and natural-history knowledge preserved in collections will provide further insights. For example, knowledge of parasite virulence for each host species could be used to weight edges in host-parasite sharing networks to identify hosts that are central to costly interactions. Although metabarcoding is not a substitute for parasitological expertise, our results provide compelling evidence for its potential to greatly augment our understanding of broad patterns in parasite ecology.

Conclusion
We show that host phylogeny and digestive strategy explain a high degree of variance in parasite community composition and sharing across a diverse community of wild and domestic large herbivores. While additional work is needed to maximize the value of parasite metabarcoding data, this approach holds enormous promise to shed light beneath the tip of the biodiversity iceberg. Use of these methods in studies with spatially or temporally stratified sampling designs will allow researchers to capture multi-host parasite dynamics that have long remained elusive. Our finding of substantial parasite sharing at the livestock-wildlife interface suggests that regularly deworming camels and donkeys could be an effective local management intervention to reduce transmission between livestock and several globally threatened and near-threatened ungulates. More broadly, our results suggest that changes to domestic animal communities or their parasite loads (e.g. via stocking density, ranging patterns or anthelminthic treatment) will impact parasitism in sympatric wild hosts.
Ethics. Permits were provided by Kenya Wildlife Service (KWS/BRM/